package com.macro.mall.mapper;

import com.macro.mall.model.CheckStorageVo;
import com.macro.mall.model.PmsStock;
import com.macro.mall.model.PmsStockExample;
import java.util.List;
import java.util.Map;

import com.macro.mall.model.WmsCreateCheckStorageDto;
import org.apache.ibatis.annotations.Param;

public interface PmsStockMapper {
    long countByExample(PmsStockExample example);

    int deleteByExample(PmsStockExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsStock record);

    int insertSelective(PmsStock record);

    List<PmsStock> selectByExample(PmsStockExample example);

    PmsStock selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsStock record, @Param("example") PmsStockExample example);

    int updateByExample(@Param("record") PmsStock record, @Param("example") PmsStockExample example);

    int updateByPrimaryKeySelective(PmsStock record);

    int updateByPrimaryKey(PmsStock record);




    /**
     * 批量修改
     * @param wmsCreateCheckStorageDtoList
     */
    void updateCheckStock(@Param("WmsCreateCheckStorageDto") List<WmsCreateCheckStorageDto> wmsCreateCheckStorageDtoList);
}